package com.ruoyi.collegeClass.domain.vo;

import com.ruoyi.common.log.annotation.Log;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author : NanMu
 * @date : 2024-06-06 15:41
 * @description :
 **/
@Data
public class CollegeTeacherVo {
    private Long value;
    private String label;
    private List<Object> children;

    public CollegeTeacherVo(Long value, String label) {
        this.value = value;
        this.label = label;
        this.children = new ArrayList<>();
    }

    public void addChildren(Object children) {
        this.children.add(children);

    }
}
